package com.zzyl.nursing.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

// NursingTaskVo.java
@Data
@ApiModel("护理任务VO")
public class NursingTaskVo {
    
    @ApiModelProperty("主键ID")
    private Long id;
    
    @ApiModelProperty("护理员ID")
    private String nursingId;
    
    @ApiModelProperty("项目ID")
    private Long projectId;
    
    @ApiModelProperty("项目名称")
    private String projectName;
    
    @ApiModelProperty("老人ID")
    private Long elderId;
    
    @ApiModelProperty("老人姓名")
    private String elderName;
    
    @ApiModelProperty("床位号")
    private String bedNumber;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("预计服务时间")
    private LocalDateTime estimatedServerTime;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("实际服务时间")
    private LocalDateTime realServerTime;
    
    @ApiModelProperty("执行记录")
    private String mark;
    
    @ApiModelProperty("取消原因")
    private String cancelReason;
    
    @ApiModelProperty("状态：1-待开始 2-进行中 3-已完成 4-已评价 5-已取消")
    private Integer status;
    
    @ApiModelProperty("任务图片")
    private String taskImage;
    
    @ApiModelProperty("护理员姓名")
    private List<String> nursingName;
    
    @ApiModelProperty("护理等级名称")
    private String planName;
    
    @ApiModelProperty("年龄")
    private Integer age;
    
    @ApiModelProperty("性别")
    private String sex;
    
    @ApiModelProperty("备注")
    private String remark;
    
    @ApiModelProperty("更新人")
    private String updateBy;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("创建时间")
    private Date createTime;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("更新时间")
    private Date updateTime;
    
    @ApiModelProperty("执行或取消之后展示")
    private String updater;

    @ApiModelProperty("执行或取消之后展示")
    private String NursingLevelName;
}